#!/bin/bash
# Copyrignt (c) xuzeshui.com. All Rights Reserved.
# Author: Xiaobao Zeng<zengxiaobao@skyworth.com>
# Created Time: 2016-11-05 09:44:32
# Last Modified: 2016-11-24 15:16:10
# File Name: washerdetail-room.sh
# Description: 
#host="127.0.0.1:8123"
host="test00.sz.doubimeizhi.com"
appkey="19854c206c2f4a82b33ce98872ab31aa"
salt="eb90e35a31b63415f717482d209f8aa2"
tm=`date +%s`
sessionid="a9351b3d775e49dea4e99efe2cc23bb3"


sign=`echo -n "appkey${appkey}sessionid${sessionid}time${tm}${salt}" | md5sum | awk '{print $1}'`

url="http://${host}/washer/all?appkey=${appkey}&time=${tm}&sign=${sign}&sessionid=${sessionid}"
curl -v -k -H "host:qkleague.app.doubimeizhi.com"  "${url}"
